<!---
	Copyright 2010 Edward Trudeau, Jeremy Battle
    This software is freely available under the MIT License: http://www.opensource.org/licenses/mit-license.php
    http://ayc.googlecode.com
    
--->

<cfcomponent name="AycObjService" output="false" extends="_AycObjService">
	
    <cfset variables.objectInstance = structNew() />
	

	<cffunction name="init" access="public" output="false" returntype="AycObjService">
		<cfargument name="AycObjDAO" type="AycObjDAO" required="true" />
		<cfargument name="AycObjGateway" type="AycObjGateway" required="true" />

		<cfset super.init(arguments.AycObjDAO, arguments.AycObjGateway) />

		<cfreturn this/>
	</cffunction>
    
    <cffunction name="getGateway" access="public" output="false" returntype="AycObjGateway">
    	<cfreturn variables.AycObjGateway />
    </cffunction>
    
    
    <cffunction name="getDAO" access="public" output="false" returntype="AycObjDAO">
    	<cfreturn variables.AycObjDAO />
    </cffunction>
</cfcomponent>


